# Makefile for VSP Protocol
# Do 'make all" at command line

CC=gcc -g
FILES=error.o network.o messages.o commandLine.o fileStatusMessage.o timer.o file.o dataMessage.o ackMessage.o hostNetwork.o
THREAD=-lpthread

all: relrecv relsend

relrecv: relrecv.o $(FILES) $(THREAD)

relsend: relsend.o $(FILES) $(THREAD)

clean:
	rm -f relsend relrecv *o